<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form enctype="multipart/form-data" th:action="@{/upload}" method="post">
    <input type="file" name="img1">
    <input type="file" name="img2">
    <input type="submit" name="submit" value="提交">>
</form>
</body>
</html>